home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 November / macformat-109.iso / Demos / Alice Demo / demo / pak0.pk3 / scripts / effects.shader < prev    next >
Encoding:
Text File  |  2000-11-20  |  3.8 KB  |  164 lines

  1. // PGM -- the fire imp's pitchfork, but used on brushes
  2. textures/effects/forkfire
  3. {
  4.     surfaceparm nolightmap
  5.     qer_editorimage    textures/effects/forkeffect7.tga
  6.     {
  7.         map textures/wall/brk_gry.tga
  8.         rgbGen identity
  9.     }
  10.     {
  11.         map textures/effects/forkeffect7.tga
  12. //        map textures/liquid/Q3lavahell.tga
  13. //        blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  14.         blendfunc GL_DST_COLOR GL_ZERO
  15. //        tcMod scroll 0 0.25
  16.         tcMod scroll 0.5 0.25
  17. //        tcMod scroll 2 1
  18. //        tcMod stretch 1 0.1 0 5
  19. //        tcMod turb 0 0.02 0 2
  20.         rgbGen identity
  21.     }
  22. }
  23.  
  24. // PGM -- the fire imp's pitchfork, but used on brushes
  25. textures/effects/forkfire1
  26. {
  27.     surfaceparm nolightmap
  28.     qer_editorimage    textures/effects/forkeffect7_alpha.tga
  29.     {
  30. //        map textures/wall/brk_gry.tga
  31.         map textures/metal/bras_hex01.tga
  32.         tcMod scale 4 4
  33.         rgbGen identity
  34.     }
  35.     {
  36.         map textures/effects/forkeffect7_alpha.tga
  37. //        map textures/liquid/Q3lavahell.tga
  38.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  39. //        blendfunc GL_DST_COLOR GL_ZERO
  40.         tcMod scroll 0 0.5
  41. //        tcMod scroll 0.5 0.25
  42. //        tcMod scroll 2 1
  43. //        tcMod stretch 1 0.1 0 5
  44. //        tcMod turb 0 0.02 0 2
  45.         rgbGen identity
  46.     }
  47. }
  48.  
  49.  
  50. // PGM -- the fire imp's pitchfork, but used on brushes
  51. textures/effects/forkfire2
  52. {
  53.     surfaceparm nolightmap
  54.     qer_editorimage    textures/detail/eye_cat01.tga
  55.     {
  56.         map textures/detail/eye_cat01.tga
  57.         tcMod stretch sin 1 .075 0 0.4
  58.         rgbGen identity
  59.     }
  60.     {
  61.         map textures/effects/forkeffect7_alpha.tga
  62. //        blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  63.         blendfunc GL_DST_COLOR GL_ZERO
  64.         tcMod scroll 0 0.5
  65.         rgbGen identity
  66.     }
  67. }
  68.  
  69. // PGM -- the fire imp's pitchfork, but used on brushes
  70. textures/effects/forkfire3
  71. {
  72.     surfaceparm nolightmap
  73.     qer_editorimage    textures/effects/forkeffect7_alpha1.tga
  74.     {
  75.         map textures/wall/brk_gry.tga
  76.         rgbGen identity
  77.     }
  78.     {
  79.         map textures/effects/forkeffect7_alpha1.tga
  80. //        map textures/liquid/Q3lavahell.tga
  81.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  82. //        blendfunc GL_DST_COLOR GL_ZERO
  83. //        tcMod scroll 0 0.25
  84.         tcMod scroll 0.5 0.25
  85. //        tcMod scroll 2 1
  86. //        tcMod stretch 1 0.1 0 5
  87. //        tcMod turb 0 0.02 0 2
  88.         rgbGen identity
  89.     }
  90. }
  91.  
  92. // PGM -- the red crystal for rvillage that script ramps up in intensity
  93. textures/effects/redcrystal1
  94. {
  95.     surfaceparm nolightmap
  96.     qer_editorimage textures/effects/redcrystal1.tga
  97.     {
  98.         map textures/effects/redcrystal1.tga
  99.         rgbGen identity
  100. //        rgbGen fromEntity
  101. // FIXME -- turn on fromEnt when script is in place
  102.     }
  103.     {
  104.         map textures/metals/envmap_med.tga
  105. //        blendFunc GL_DST_COLOR GL_SRC_COLOR        // default envmap blend
  106.         blendFunc GL_DST_COLOR GL_ZERO
  107.         tcGen environment
  108.     }
  109. }
  110.  
  111. textures/effects/fakemirror01
  112. {
  113.     surfaceparm nolightmap
  114. //    qer_editorimage textures/metal/slv_lit01.tga
  115.     qer_editorimage textures/metal/slv_mirror01.tga
  116.     {
  117.         map textures/metal/slv_lit01.tga
  118.         rgbGen identity
  119.         tcMod scale 4 4
  120.     }
  121.     {
  122.         map textures/metal/slv_mirror01.tga
  123.         blendFunc GL_DST_COLOR GL_SRC_COLOR        // default envmap blend
  124. //        blendFunc GL_DST_COLOR GL_ZERO
  125.         tcGen environment
  126.     }
  127. }
  128.  
  129. // PGM - this is backup script for the alice wall
  130. textures/effects/wallold
  131. {
  132.     qer_editorimage textures/common/black.tga
  133.     surfaceparm nolightmap
  134.     {
  135.         map textures/common/black.tga
  136.     }
  137.     {
  138.         map textures/effects/flash.tga
  139. //        blendFunc GL_DST_COLOR GL_SRC_COLOR        // default envmap blend
  140.         blendFunc GL_ONE GL_ONE
  141. //        blendfunc  gl_zero gl_src_color
  142.         tcGen environment
  143. //        rgbGen wave sin 0.15 .05 0.5 0.5
  144.         tcmod scale .2 .2    
  145.         tcMod scroll 0.25 0.25
  146.     }
  147.     {
  148.         map textures/effects/blackgoop.tga
  149.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  150.         tcmod turb 0 1 0 .5
  151.         tcmod scale .03 .03
  152.     }
  153.     {
  154.         map textures/effects/alicewall_01.tga
  155.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  156.         tcGen environment
  157.         alphagen constant  0.3
  158.         alphagen dot .4 .2
  159. //        tcmod turb 0 1 0 .2
  160.         tcmod scale .8 .8
  161.         tcmod scroll 0 .10
  162.     }    
  163. }
  164.